package com.shy.springframework.context.annotation;

import java.lang.annotation.*;

/**
 * @author yzpang
 * @desc: 自定义注解,用于配置作用域
 * @date: 2023/2/13 11:30
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Scope {
    String value() default "singleton";
}
